package adger.me.yili.activity;

import android.app.Application;

import com.orhanobut.logger.Logger;

import org.xutils.x;

import adger.me.yili.utils.CrashHandler;
import cn.bmob.v3.Bmob;

/**
 * Created by heyue on 2015/11/9.
 */
public class MyApp extends Application {
    public   static MyApp instance=null;
    @Override
    public void onCreate() {
        super.onCreate();
        instance=this;
        x.Ext.init(this);
        Bmob.initialize(this,"69d2722ff7a3d61c799b316c501670e1");//开发环境

        CrashHandler crashHandler = CrashHandler.getInstance();
        crashHandler.init(getApplicationContext());
        Logger.init("YILILOG-->");

    }
}
